package commons.conf;

import java.util.List;
import java.util.Map;

public interface ResourceDomain {

	String getModuleName(); 
	
	String getDomainName();
	
	String getTableName();
	
	Map<String, ResourceDomainField> getFieldMap();
	
	String getFullName();
	
	/**
	 * foreign keys
	 * @return
	 */
	List<ResourceDomainField> getForeignFields();
	
	
	/**
	 * 
	 * @return
	 */
	boolean hasForeign();
	
	
	ResourceDomainField findFieldByColumnId(String id);
	
}
